//--------------------------------------------------------------------//
// Master do-file
//
// Paper: "Mano Dura: An Experimental Evaluation of Military Policing in Cali, 
// Colombia"
//
// Authors: Robert Blair, Lucia Mendoza-Mora, and Michael Weintraub
//
// Date last modified: 2024-12-17
// 
// Notes:
//	(1) This do-file indicates the order in which to run all code for 
//  the project. It sets the working directory and uploads the packages
//	used. 
//
//------------------------------------------------------------------//

//---------//
// -- Preliminaries 
//---------//

clear all
set more off
graph set window fontface "Times New Roman"


* Defining main computer path

global path "[YOUR DIRECTORY]" 

		
* Set working directory
cd "${path}" 


//---------//
// -- Install packages
//---------//
	
	*Outreg
		* ssc install outreg2, replace
			
	*Color Pallettes
		* ssc install palettes, replace
			
	* Tables in latex
		* ssc install tabout, replace
		
	* colorpalette
		* net search colorpalette
		
	* Make regression tables
		* ssc install estout, replace
		
	* coefplot: coefficients plot (blindschemes allows aesthetics manipulation)
		* ssc install coefplot, replace
		* ssc install blindschemes, replace
		
	

//---------//
// -- Run project do-files 
//---------//

	//- 01_housekeeping: define functions. 
			
	include "${path}/code/01_housekeeping.do"
	
	
	//- 02_main_results: replicate the tables and figures in the main text. 
			
	include "${path}/code/02_main_results.do"
	
	
	//- 03_appendix_results: replicate the tables and figures in the appendix. 
			
	include "${path}/code/03_appendix_results.do"
	